package com.fr.data;

import java.math.BigDecimal;

/**
 * Created by 1705 on 2018-08-08.
 */
public class SalesReportMonthHourInfo {
    private String year;
    private String month;
    private String hour;
    private BigDecimal salesAmount;
    private BigDecimal lastMonthSalesAmount;

    public SalesReportMonthHourInfo(String year, String month, String hour, BigDecimal salesAmount, BigDecimal lastMonthSalesAmount) {
        this.year = year;
        this.month = month;
        this.hour = hour;
        this.salesAmount = salesAmount;
        this.lastMonthSalesAmount = lastMonthSalesAmount;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getHour() {
        return hour;
    }

    public void setHour(String hour) {
        this.hour = hour;
    }

    public BigDecimal getSalesAmount() {
        return salesAmount;
    }

    public void setSalesAmount(BigDecimal salesAmount) {
        this.salesAmount = salesAmount;
    }

    public BigDecimal getLastMonthSalesAmount() {
        return lastMonthSalesAmount;
    }

    public void setLastMonthSalesAmount(BigDecimal lastMonthSalesAmount) {
        this.lastMonthSalesAmount = lastMonthSalesAmount;
    }

    public SalesReportMonthHourInfo() {
    }

    @Override
    public String toString() {
        return "SalesReportMonthHourInfo{" +
                "year='" + year + '\'' +
                ", month='" + month + '\'' +
                ", hour='" + hour + '\'' +
                ", salesAmount=" + salesAmount +
                ", lastMonthSalesAmount=" + lastMonthSalesAmount +
                '}';
    }
}
